<?php

namespace Common\Controller;
use Think\Controller;

class MaterialController extends Controller{

   public function view() {
		$id = intval($_GET['id']);
		$model = M('Material')->where(array('materialID'=>$id))->find();
		$this->assign('content',$model['content']);
		$this->display();
	}

}
